package com.pactera.demo.base.service;

import com.pactera.demo.base.entity.LoginUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.social.security.SocialUserDetails;
import org.springframework.social.security.SocialUserDetailsService;

import java.util.Set;

/**
 * <p>
 * 登录信息表 服务类
 * </p>
 *
 * @author mybatis.plus
 * @since 2020-02-27
 */
public interface ILoginUserService extends IService<LoginUser>, UserDetailsService, SocialUserDetailsService {

    Set<String> getRolesByUserId(String userId);

}
